package com.lzq.chatroom_project.dao;

import com.lzq.chatroom_project.model.SensitiveWord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SensitiveWordMapper {

    List<String> selectAllSensitiveWords();

    void insertSensitiveWord(String word);

    void insertExistedSensitiveWord(String word);

    void removeSensitiveWord(String word);

    SensitiveWord findSensitiveWord(String word);
}
